package cn.ray.springframework.context;

import cn.ray.springframework.beans.BeansException;

//继承自applicationContext并提供refresh方法
public interface ConfigurableApplicationContext extends ApplicationContext {

    /**
     * 刷新容器
     *
     * @throws BeansException
     */
    void refresh() throws BeansException;

    void registerShutDown();

    void close();
}
